From: Dan Winship Date: Thu, 28 Oct 2010 18:03:45 +0000 (-0400) Subject: popupMenu: fix spacing between columns X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9598 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f365484a5c97df96ce92d23c672bd0ed1622be58;p=gnome-shell.git popupMenu: fix spacing between columns This patch didn't get updated for the st_theme_node_get_spacing() change. --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 23969a6a5..56c7013c4 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -81,9 +81,7 @@ PopupBaseMenuItem.prototype = { }, _onStyleChanged: function (actor) { - let themeNode = actor.get_theme_node(); - let [found, spacing] = themeNode.get_length('spacing', false); - this._spacing = found ? spacing : 0; + this._spacing = actor.get_theme_node().get_length('spacing'); }, _hoverChanged: function (actor) {